package com.squirrel.serialportcore.entity.property;

import com.squirrel.serialportcore.common.SerialPortProperties;

import java.util.Map;

/**
 * Json配置文件属性
 *
 * @author Squbi
 * @date 2021/3/23 11:01
 */
public class JsonProperty {
    private String appName;
    private Map<String, SerialPortProperties> portProperty;

    @Override
    public String toString() {
        return "JsonProperty{" +
                "appName='" + appName + '\'' +
                ", portProperty=" + portProperty +
                '}';
    }

    public String getAppName() {
        return appName;
    }

    public JsonProperty setAppName(String appName) {
        this.appName = appName;
        return this;
    }

    public Map<String, SerialPortProperties> getPortProperty() {
        return portProperty;
    }

    public JsonProperty setPortProperty(Map<String, SerialPortProperties> portProperty) {
        this.portProperty = portProperty;
        return this;
    }
}
